import React from "react";
import BaseTabBar from "@/components/layout/baseTabBar";
import { IRouteComponentProps } from "umi";
export default function({children,location}:IRouteComponentProps){
    console.log(location)
    if(location.pathname==="/mine"){
        return children;
    }else{
        return(
            <div>
                <h1>布局组件</h1>
                {children}
                {/* <BaseTabBar/> */}
            </div>
        )
    }
   
}